Using Notifier Functions
To receive notice of provider events, you must install a notifier function. If the provider was opened synchronously, you do this by calling theOTInstallNotifier
function. If the provider was opened asynchronously, you install the notifier by passing a pointer to the notifier function as a parameter to the function used to open the provider. To remove a notifier function, call theOTRemoveNotifier
function.You can use the
OTUseSyncIdleEvents
function to send idle events to your notifier.